Skip to content

IQuaternaryDictionary.ValueMatchesSecondaryIndex(string, TValue, TIndexKey) method

Defined in

Type: IQuaternaryDictionary Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

bool ValueMatchesSecondaryIndex<TIndexKey>(string indexName, TValue value, TIndexKey key) where TIndexKey : notnull

Summary: Determines whether the specified value matches the given key in the specified secondary index.

Type parameters

NameDescription
TIndexKeyThe type of the key used in the secondary index.

Parameters

NameTypeDescription
indexNamestring (opens in a new tab)The name of the secondary index to use for matching.
valueTValueThe value to check.
keyTIndexKeyThe key value to match against.

Returns: bool (opens in a new tab) -- true if the value's indexed property matches the specified key; otherwise, false.